<%@ Control Language="C#"  %>
<%@ Register Assembly="Swaf.Gui.AspNet2" Namespace="Swaf.Gui.AspNet2" TagPrefix="swf" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="cke" %>
<%@ Register Assembly="Syrinx.Gui.AspNet.Nitobi2" Namespace="Syrinx.Gui.AspNet.Nitobi2" TagPrefix="snc" %><%@ Register Assembly="NitobiControls" Namespace="Nitobi" TagPrefix="ntb" %>

<asp:HiddenField ID="salPreviewUrl" runat="server" />
<table cellspacing="3px">
<tr>
	<td><asp:Label runat="server" ID="_parentPidLbl" Text="Parent Product:" /></td>
	<td>
		<snc:Combo id="pidArticle" runat="server" DataTextField="title" DataSourceBizRule="getProductsForChildParentChoice" Mode="Unbound" Theme="Vista"  >
			<ClientEvents Select="previewSal()" />
			<TextBox Width="149px" /><List Width="300px" Height="150" />
			<Columns>
				<ntb:BoundColumn DataField="uniqueId" Visible="false" />
				<ntb:BoundColumn DataField="title" Visible="false" />
				<ntb:BoundColumn HeaderText="Text" DataField="depthName" Width="150" />
			</Columns>
		</snc:Combo>
	</td>
</tr><tr>
	<td><asp:Label runat="server" ID="_parentPidFormulaLbl" Text="Parent Formula:" /></td>
	<td>
		<asp:TextBox runat="server" ID="pidFormula" />
	</td>
</tr>
<tr>
	<td><asp:Label runat="server" ID="_listDispLbl" Text="Style:" /></td>
	<td>
		<snc:Combo id="ListTemplate" runat="server" DataTextField="name" DataSourceBizRule="getAvailableSplTemplates" Mode="Unbound" Theme="Vista"  >
			<ClientEvents Select="previewSal()" />
			<TextBox Width="149px" /><List Width="300px" Height="150" />
			<Columns>
				<ntb:BoundColumn DataField="name" Visible="false" />
				<ntb:BoundColumn HeaderText="Name" DataField="name" Width="150" />
			</Columns>
		</snc:Combo>
	</td>
</tr>
<tr>
	<td><asp:Label runat="server" ID="_outerBoxLbl" Text="Outer Box:" /></td>
	<td>
		<snc:Combo id="BoxSkinId" runat="server" DataTextField="name" DataSourceBizRule="getSkinIdsForSalFromCurrentTheme" Mode="Unbound" Theme="Vista"  >
			<ClientEvents Select="previewSal()" />
			<TextBox Width="149px" /><List Width="300px" Height="150" />
			<Columns>
				<ntb:BoundColumn DataField="name" Visible="false" />
				<ntb:BoundColumn HeaderText="Name" DataField="name" Width="150" />
			</Columns>
		</snc:Combo>
	</td>
</tr>
<tr>
	<td><asp:Label runat="server" ID="_navLinkLbl" Text="Nav Link:" /></td>
	<td><asp:TextBox runat="server" ID="NavLink" /></td>
</tr>
<tr>
	<td><asp:Label runat="server" ID="_imgSizeLbl" Text="Image Size:" /></td>
	<td>
		<snc:Combo id="ImageRes" runat="server" DataTextField="name" DataSourceBizRule="getImageSizesForSal" Mode="Unbound" Theme="Vista"  >
			<ClientEvents Select="previewSal()" />
			<TextBox Width="149px" /><List Width="350px" Height="150" />
			<Columns>
				<ntb:BoundColumn DataField="name" Visible="false" />
				<ntb:BoundColumn DataField="name" HeaderText="Name" width="200" />
				<ntb:BoundColumn DataField="width" HeaderText="Width" Width="75" />
				<ntb:BoundColumn DataField="height" HeaderText="Height" Width="75" />
			</Columns>
		</snc:Combo>
	</td>
</tr>
<tr>
	<td><asp:Label runat="server" ID="_maxArticlesLbl" Text="Max Articles:" /></td>
	<td><asp:TextBox runat="server" ID="MaxElements" /></td>
</tr>
<tr>
	<td><asp:Label runat="server" ID="_readMoreLbl" Text="Read More Label:" /></td>
	<td><asp:TextBox runat="server" ID="ReadMoreText" /></td>
</tr>

</table>